package dao;

import model.QQ;

import java.util.List;

public interface QQsManagement {

    Long SaveOne(QQ qq);

    Long updateOne(long u_id, long qq_id);

    boolean deleteOneByQq(long qq_id);

    boolean deleteOneById(long u_id);

    List<QQ> query(QQ qq, int pageSize, int page);

    List<QQ> query(QQ qq);

    List<QQ> query(int pageSize, int page);

    List<QQ> query();

    List<QQ> queryALL();

    List<QQ> queryALL(int pageSize, int page);
}
